#! /usr/bin/env python
#coding=utf-8
import multitask
import time
def coroutine_1():
    for i in range(3):
        print 'c1'
        yield id
        
def coroutine_2():
    for i in range(3):
        print 'c2'
        yield id
        
multitask.add(coroutine_1())
multitask.add(coroutine_2())

multitask.run()